#!/bin/sh
ip_addresses=$(ip addr | grep 'global' | sed 's/\/24//g' | awk '{print $2}')
printf "\033[34m%s\033[0m\n" "$ip_addresses"

#ip_addresses=$(ip addr | grep global | sed 's/\/24//g' | awk '{print $2}')
#echo -e "\x1b[34m$ip_addresses\x1b[0m"
